//
//  THJServeAgreementVC.m
//  THJXHW
//
//  Created by 河南德艺 on 17/4/13.
//  Copyright © 2017年 河南德艺. All rights reserved.
//

#import "THJServeAgreementVC.h"
#import <WebKit/WebKit.h>

@interface THJServeAgreementVC ()

@end

@implementation THJServeAgreementVC

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"服务条款";
    UIWebView * wbv = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, ScreenWidth, ScreenHeight)];
    NSString* path = [[NSBundle mainBundle] pathForResource:@"agreement" ofType:@"html"];
    NSURL* url = [NSURL fileURLWithPath:path];
    NSURLRequest* request = [NSURLRequest requestWithURL:url] ;
    [wbv loadRequest:request];
    [self.view addSubview:wbv];
    wbv.backgroundColor = SingleColor(whiteColor);
}
@end
